import { lazy } from "react";
export type RouterType = {
    path: string;
    name:string;
    component: React.LazyExoticComponent<any>;
    children?:RouterType[];
};

const Routers:RouterType[] = [
    {
        path: "/",
        name:"base",
        component: lazy(() => import("@/Layout/index")),
        children:[
            {
                path: "home",
                name:"home",
                component: lazy(() => import("@/views/Home")),
            }
        ]
    },
];

export default Routers;

